#include <iostream>

bool isLittleEndian() {
    int num = 1;
    char* ptr = (char*)&num;
    return ptr[0] == 1; // 如果第一个字节是1，则为小端
}

int main() {
    if (isLittleEndian()) {
        std::cout << "Little Endian" << std::endl;
    } else {
        std::cout << "Big Endian" << std::endl;
    }
    return 0;
}